package com.training.comissionbased;

import com.training.Employee;

public class ComissionEmployee extends Employee {

	private String salaryHike;
	private String bonus;
	
	

	/**
	 * @return the bonus
	 */
	  String getBonus() {
		return bonus;
	}

	/**
	 * @param bonus the bonus to set
	 */
	  void setBonus(String bonus) {
		this.bonus = bonus;
	}

	/**
	 * @return the salaryHike
	 */
	protected String getSalaryHike() {
		return salaryHike;
	}

	/**
	 * @param salaryHike the salaryHike to set
	 */
	protected void setSalaryHike(String salaryHike) {
		this.salaryHike = salaryHike;
	}
	
 	
	public int work() {
		return 40;
  	}
	
	 
	
}
